package com.simple.simple_view.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.simple.simple_view.domain.ResponseResult;
import com.simple.simple_view.domain.dto.UpdateUserInfoDto;
import com.simple.simple_view.domain.entity.User;
import org.springframework.stereotype.Service;


/*
 *@description: 用户表服务接口
 *@author: hisen
 *@Time: 2023/10/26  16:26
 */
@Service
public interface UserService extends IService<User> {
    ResponseResult register(User user);

    ResponseResult login(User user);

    ResponseResult updateUserInfo(UpdateUserInfoDto updateUserInfoDto) throws Exception;

    ResponseResult getUserInfo(Long userId);
}
